﻿using System.Globalization;
using System.Windows;
using System.Windows.Data;

namespace Xioa_UI.Convert;

public class IconLeftTextConverter : IValueConverter
{
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
    {
        return new CornerRadius(((CornerRadius)value).TopLeft, 0, 0, ((CornerRadius)value).BottomLeft);
    }

    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    {
        throw new NotImplementedException();
    }
}